import React, { Component } from 'react'

export default class News extends Component {

	// 进入news组件后，两秒，自动跳转到message页面
	componentDidMount() {
		setTimeout(()=>{
			this.props.history.push('/home/message')
		}, 2000)
	}

	render() {
		return (
			<ul>
				<li>news001</li>
				<li>news002</li>
				<li>news003</li>
			</ul>
		)
	}
}
